<?php
return array(
    'controllers' => array(
        'invokables' => array(
            'Learn\Controller\Index' => 'Learn\Controller\IndexController',
        ),
    ),
    'router' => array(
        'routes' => array(
            'learn' => array(               
                        'type'    => 'Segment',
                        'options' => array(
                            'route'    => '/learn[/:action][/:id]',
                            'constraints' => array(                          
                                'action'     => '[a-zA-Z][a-zA-Z0-9_-]*',
                            ),
                            'defaults' => array(
                                'controller' => 'Learn\Controller\Index',
                                'action' => 'index'
                            ),
                        ),
                    ),
                ),
    ),
    'view_manager' => array(
        'template_path_stack' => array(
            'Learn' => __DIR__ . '/../view',
        ),
    ),
);
